package com.miya.demo.entity;

import cn.monitor4all.logRecord.annotation.LogRecordDiff;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * 客户
 * @author Caixiaowei
 * @date 2022/07/08
 */
@Data
@TableName(value = "t_customer")
@LogRecordDiff(alias = "客户信息实体")
public class Customer extends BaseEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 姓名
     */
    @TableField(value = "`name`")
    @LogRecordDiff(alias = "客户名称")
    private String name;

    /**
     * 邮箱
     */
    @TableField(value = "email")
    @LogRecordDiff(alias = "客户邮箱")
    private String email;

}